﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcDemo.Control
{
    public class MvcControlTextboxBuilder:MvcControlInputBuilder<MvcControlTextbox,MvcControlTextboxBuilder>
    {
        public MvcControlTextboxBuilder(MvcControlTextbox control)
            : base(control)
        { 
            
        }

        public MvcControlInputBuilder<MvcControlTextbox, MvcControlTextboxBuilder> Value(string value)
        {
            Control.Value = value;
            return this as MvcControlInputBuilder<MvcControlTextbox, MvcControlTextboxBuilder>;
        }
    }
}